package com.cyj.springioc3.factory;

import com.cyj.springioc3.service.IUserService;
import com.cyj.springioc3.service.impl.UserServiceImpl;

/**
 * @description: 工厂静态方法实例化
 * @Author C_Y_J
 * @create 2021-02-25 08:55
 **/
public class StaticFactory {
    public static IUserService getUserService() {
        return new UserServiceImpl();
    }
}
